﻿using IBll;
using IDal;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bll
{
    public class RoteBll : IRoteBll
    {

         public RoteBll(IRecipeDal<Rote> reca)
        {
            Reca = reca;
        }

        public IRecipeDal<Rote> Reca { get; }

        public List<Rote> rotes()
        {
             return Reca.GetAllAnync().ToList();

        }
    }
}
